<?php
	include "core/mysql.php";
//查询数据库
  	$arr=$_GET['$name'];
	$sql = "select * from news_list where news_type ='$arr'";
	 $res = fetchAll($sql);//查询的方法	
?>